package com.itheima.advance.anno.demo04;

public class StudentDemo01 {

    public static void main(String[] args) {

        // 获取Student类对应的字节码文件对象
        Class<Student> studentClass = Student.class;
        boolean present = studentClass.isAnnotationPresent(Anno1.class);
        System.out.println(present);

    }

}
